import instance from '../utils/request'
export const suggestion  = (q) => {

    // 发请求
    return instance({
      url: '/v1_0/suggestion',
      method: 'get',
     params:{
         q
     }
    })
  }
export const searchresult  = (params) => {

    // 发请求
    return instance({
      url: '/v1_0/search',
      method: 'get',
     params
    })
  }